package com.ruoyi.dynamic.model.pojo.request.app;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@Schema(description = "APP-房间禁言某个用户")
public class AppRoomBanByUserRequest {
    @Schema(description = "房间id")
    @NotNull(message = "房间不能为空")
    private Long roomId;

    @Schema(description = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "禁言时长 不传则默认最大 43200 分钟")
    private Integer time = 43200;


    @Schema(description = "1禁言2拉黑")
    @NotNull(message = "禁言或者拉黑类型不能为空")
    private Integer type;
}
